package com.lab.utils.imageupload.model;

/**
 * Created by ak on 16/3/1.
 */
public class OssTokenObject {
    /*"accessKeyId": "STS.kGhUbP2a7lFkXgiEjfjF",
            "accessKeySecret": "uiXdwEtLN5R5nzdhqDRrWmIZPnfX6nG7RCcnByuj",
            "securityToken":"CAEShAQIARKAAbLN8A2zcFCCM0DOFzTcmTzG9O9jUcDuBgUNQj5qEAV2wiCPEweAgK8d9CgLkow/aTwAMmynUcTQblahPTDu7ts1v85Ds0DHnOkiP8fGcTwWxtUZdO/7oKUxDbz2f7BXF7+PYu7bKJFzb8VavfUk6Bo8Jr0DEylzgKgiA/kUl/+iGhhTVFMua0doVWJQMmE3bEZrWGdpRWpmakYiEjM3NzU5Mzk1NjE5NTk4MjAxMCoMdHJpcGluc2lkZXJzMOKShuSxKjoGUnNhTUQ1QssBCgExGsUBCgVBbGxvdxKCAQoMQWN0aW9uRXF1YWxzEgZBY3Rpb24aagoNb3NzOkdldE9iamVjdAoNb3NzOlB1dE9iamVjdAoQb3NzOkRlbGV0ZU9iamVjdAoNb3NzOkxpc3RQYXJ0cwoYb3NzOkFib3J0TXVsdGlwYXJ0VXBsb2FkCg9vc3M6TGlzdE9iamVjdHMSNwoOUmVzb3VyY2VFcXVhbHMSCFJlc291cmNlGhsKGWFjczpvc3M6KjoqOmN1aXRyaXAtZGV2LypKEDEyNzk2NjU1NjY0NDk1MjJSBTI2ODQyWg9Bc3N1bWVkUm9sZVVzZXJgAGoSMzc3NTkzOTU2MTk1OTgyMDEwchthbGl5dW5vc3N0b2tlbmdlbmVyYXRvcnJvbGV48v6T3JX7ogI=",
            "expiration": "2016-02-26T07:36:04Z",
            "bucket": "cuitrip-dev",                      // 图片在云端的根目录
            "callbackUrl": "http://api.cuitrip.com/baseservice/setCallback", // 服务端回调url
            "callbackBodyType": "application/json"，           // 回调信息的返回格式
            "callbackBody": "{\"bucket\":${bucket},\"object\":${object},\"etag\":${etag},\"size\":${size}}"， // 回调信息需包含的参数: object:文件名，etag：文件的etag信息，size: 文件大小
            "endpoint": "oss-cn-hangzhou.aliyuncs.com",
            "errorMsg":*/

    private String accessKeyId;
    private String accessKeySecret;
    private String securityToken;
    private String expiration;
    private String bucket;
    private String callbackUrl;
    private String callbackBodyType;
    private String callbackBody;
    private String endpoint;
    private String errorMsg;
    private String callbackParam;

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getSecurityToken() {
        return securityToken;
    }

    public void setSecurityToken(String securityToken) {
        this.securityToken = securityToken;
    }

    public String getExpiration() {
        return expiration;
    }

    public void setExpiration(String expiration) {
        this.expiration = expiration;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getCallbackBodyType() {
        return callbackBodyType;
    }

    public void setCallbackBodyType(String callbackBodyType) {
        this.callbackBodyType = callbackBodyType;
    }

    public String getCallbackBody() {
        return callbackBody;
    }

    public void setCallbackBody(String callbackBody) {
        this.callbackBody = callbackBody;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getCallbackParam() {
        return callbackParam;
    }

    public void setCallbackParam(String callbackParam) {
        this.callbackParam = callbackParam;
    }
}
